package com.example.springbootdemo.aop;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Test {

    @Autowired
    private Test1 test1;

    public void test() {
        System.out.println("测试方法");
        test1.test();
    }
}
